<!-- 报告上传统计-->
<#macro reportcount > 
<div class="col-sm-6">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>最近7天上传报告统计</h5>
            <div class="ibox-tools">
                  <a data-name="报告上传统计" data-url="${WEB_PATH}/ports/report/noticeindex.do" class="btn-outline btn-success btn-xs tabClass">查看更多</a>
            </div>
        </div>
        <div class="ibox-content" style="height: 353px;">
              <div style="width: 100%;height:349px;" id="flot-dashboard-chart"></div>
        </div>
    </div>
</div>
<script>
$(function(){ 
	<@portsCount>
	option = {
	    tooltip : {
	        trigger: 'axis'
	    },
	    legend: {
	        data:${map.legendData}
	    },
	    toolbox: {
	        show : true,
	        feature : {
	            magicType : {show: true, type: ['line', 'bar']}
	        }
	    },
	    calculable : true,
	    xAxis : [
	        {
	            type : 'category',
	            data : ${map.xAxisData}
	        }
	    ],
	    yAxis : [
	        {
	            type : 'value'
	        }
	    ],
	    series : ${map.seriesData}
	};
	</@portsCount>
	
	 var l = echarts.init(document.getElementById("flot-dashboard-chart"));
	 l.setOption(option);
	 $(window).resize(l.resize); 
})
</script>
</#macro>
<!-- 报告上传统计 -->
 
 